using System.Data;
using DAL;
using ET;

namespace BLL
{
    public class Import_BLL
    {
        public static Import_DAL cls = new Import_DAL();

        #region[Get-Data]
        public DataTable BindGirdtb_Import(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable BindGirdtb_ImportDetail(int id)
        {
            return cls.BindGirdtb_ImportDetail(id);
        }
        public DataTable GetImportFillterDate(string DateBegin, string DateEnd)
        {
            return Import_DAL.GetImportFillterDate(DateBegin, DateEnd);
        }
        public DataTable GetImportFillter(string Warehouse_Id, string Room_ID)
        {
            return Import_DAL.GetImportFillter(Warehouse_Id, Room_ID);
        }
        #endregion

        #region Insert
        public static bool Inserttb_Import(Import_ET obj)
        {
            return cls.Inserttb_Import(obj);
        }
        #endregion

        #region Update
        public static bool Updatetb_Import(Import_ET obj)
        {
            return cls.Updatetb_Import(obj);
        }
        #endregion

        #region Delete
        public static bool Deletetb_Import(int id)
        {
            return cls.Deletetb_Import(id);
        }
        #endregion
    }
}